package com.example.ntweixin.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.example.ntweixin.entity.WeixinTwoDimensionalCode;
import com.example.ntweixin.dao.WeixinTwoDimensionalCodeDao;

@Service
public class WeixinTwoDimensionalCodeService{

    @Resource
    private WeixinTwoDimensionalCodeDao weixinTwoDimensionalCodeDao;

    public int insert(WeixinTwoDimensionalCode pojo){
        return weixinTwoDimensionalCodeDao.insert(pojo);
    }

    public int insertSelective(WeixinTwoDimensionalCode pojo){
        return weixinTwoDimensionalCodeDao.insertSelective(pojo);
    }

    public int insertList(List<WeixinTwoDimensionalCode> pojos){
        return weixinTwoDimensionalCodeDao.insertList(pojos);
    }

    public int update(WeixinTwoDimensionalCode pojo){
        return weixinTwoDimensionalCodeDao.update(pojo);
    }
}
